<template>
    <div>
        <div id="g_login">
            <nav class="navbar navbar-inverse navbar-fixed-top">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                                data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">The System Of Manager</a>
                    </div>
                    <div id="navbar" class="navbar-collapse collapse">
                        <ul class="nav navbar-nav navbar-right">
                            <li><a href="#">{{adminId}}</a></li>
                            <li><a href="#">唯一超级管理员</a></li>
                            <li><a href="#">退出</a></li>
                        </ul>
                    </div>
                </div>
            </nav>
            <div class="container-fluid" style="margin-top: 60px">
                <div class="row">
                    <div class="col-sm-3 col-md-2 sidebar">
                        <ul class="nav nav-sidebar">
                            <li class="active"><router-link to="./index"> 首页 <span class="sr-only">(current)</span></router-link></li>
                            <li><router-link to="/manager/userList">用户信息</router-link></li>
                            <li><router-link to="/manager/expertList">咨询师信息</router-link></li>
                            <li><router-link to="/manager/orderList">订单信息</router-link></li>
                        </ul>
                        <ul class="nav nav-sidebar">
                            <li><router-link to="/manager/Audit">入驻审核</router-link></li>
                            <li><router-link to="/manager/income">资金流向</router-link></li>
                            <li><router-link to="/manager/tags">标签管理</router-link></li>

                        </ul>
                    </div>
                    <div class="col-sm-9  col-md-9  main">
                        <template>
                        <router-view ></router-view>
                        </template>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</template>
<script>
    export default {
        name: 'g_login',
        data () {
            return {
                adminId:"",
            }
        },
        mounted() {
            var adminId=cookie.get("admin");
            if(adminId){
                console.log(adminId)
            }else{
                this.$router.go(-1)
            }
           this.adminId=adminId
        },
        methods: {

        },

    }
</script>